﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;

namespace TfL
{
    //[Serializable]
    public class BranchDisruption
    {
        public BranchDisruption()
        {
            this.StationTo = new Station();
            this.StationFrom = new Station();
        }

        [XmlElement("StationTo")]
        public Station StationTo { get; set; }
        [XmlElement("StationFrom")]
        public Station StationFrom { get; set; }

        public override string ToString()
        {
            return string.Format("From {0} to {1}", StationFrom.ToString(), StationTo.ToString());
        }
    }

    
}
